package ar.uba.fi.posgrado.common.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * Titulo universitario
 * 
 * @author pablo.tortorella
 * 
 */
@Embeddable
@SuppressWarnings("serial")
public class Degree implements Serializable {

	@Column(name = "TITULO", length = 100)
	private String degree;

	@Column(name = "UNIVERSIDAD_TITULO", length = 50)
	private String university;

	@Column(name = "ANIO_TITULO")
	private Integer year;

	/**
	 * @return the degree
	 */
	public String getDegree() {
		return degree;
	}

	/**
	 * @param degree
	 *            the degree to set
	 */
	public void setDegree(String degree) {
		this.degree = degree;
	}

	/**
	 * @return the university
	 */
	public String getUniversity() {
		return university;
	}

	/**
	 * @param university
	 *            the university to set
	 */
	public void setUniversity(String university) {
		this.university = university;
	}

	/**
	 * @return the year
	 */
	public Integer getYear() {
		return year;
	}

	/**
	 * @param year
	 *            the year to set
	 */
	public void setYear(Integer year) {
		this.year = year;
	}
}
